{% extends 'CHOMPSGIBundle:Estado:base.html.twig' %}

{% block formtheme %}
	{% form_theme form 'CHOMPSGIBundle::formRow.html.twig'  %}
{% endblock %}

{% set active_page = "estado_nuevo" %}
{% block subtitle %} Nueva {% endblock %} 

{% block content %}
<div class="row-fluid"> 
	<h1>Alta de Estado</h1>

		{{ form_start(form, {attr: {novalidate: 'novalidate'}}) }}

				{{ form_row(form.nombre) }}
				
				{{ form_row(form.inicial) }}
				
				{{ form_row(form.final) }}

				{{ form_widget(form.save, { 'attr': {'class': 'btn btn-success pull-left'} }) }}

		{{ form_end(form) }}
	<a class="btn" style="margin-left: 5px;" href="{{ path('estado_listar') }}">
		Cancelar
	</a>
</div>
{% endblock %}
 